//
//  CellEntry.m
//  VietNews
//
//  Created by Nguyen .a.Hph on 27/3/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "CellEntry.h"

@implementation CellEntry
@synthesize title,url,desc,img,time,image;
-(id) initWithTitle:(NSString *)_title url:(NSString *)_url{
    if ((self = [super init])) {
        self.title = _title;
        self.url = _url;
    }
    
    return self;
}

-(id) initWithTitle:(NSString *)_title desc:(NSString *)_desc url:(NSString *)_url img:(NSString *)_img time:(NSString *)_time{
    if ((self = [super init])) {
        self.title = _title;
        self.url = _url;
        self.desc = _desc;
        self.img = _img;
        self.time = _time;
    }
    return self;
}

- (NSString *)description{
    return [[NSString alloc] initWithFormat:@"title: %@; url: %@",self.title,self.url];
}

@end
